home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / DataLo~1.cab / _684D8DBFEE624216B931077F90088F11 < prev    next >
Encoding:
Text File  |  2005-12-21  |  4.0 KB  |  129 lines

  1. !Include("MenuCarShop.vis")
  2.  
  3. UIElem("ID_CAR_INFO_TITLE")
  4. {
  5.     Default()
  6.     {
  7.        Text("&#CurrSelectedCar.m_sID#_NAME&")
  8.     }
  9. }
  10.     
  11. UIElem("ID_CARINFO_TXT")
  12. {
  13.     Default()
  14.     {
  15.         Text("&CarDescriptionDealer&")
  16.     }
  17.    
  18.     // disabled car
  19.     OnCondition("CurrSelectedCar.m_iStatus == 3")
  20.     {
  21.     Text("&CarDisabled&")
  22.     }
  23.  
  24.     OnCondition("CurrSelectedCar.m_iStatus == 0")
  25.     {
  26.     Text("&CAR_Group&: 
  27. &CAR_Drive&: 
  28. &CAR_EngineType&: 
  29. &CAR_Displacement&: 
  30. &CAR_Power&: 
  31. &CAR_Torque&: 
  32. &CAR_Date&: 
  33. &CAR_BuyPrice&: ")
  34.     }
  35.     
  36.     OnCondition("CurrSelectedCar.m_iStatus == 1")
  37.     {
  38.     Text("&CAR_Group&: 
  39. &CAR_Drive&: 
  40. &CAR_EngineType&: 
  41. &CAR_Displacement&: 
  42. &CAR_Power&: 
  43. &CAR_Torque&: 
  44. &CAR_Date&: 
  45. &CAR_BuyPrice&: ")
  46.     }
  47.  
  48.     OnCondition("CurrSelectedCar.m_iStatus == 2")
  49.     {
  50.     Text("&CAR_Group&:
  51. &CAR_Drive&: 
  52. &CAR_EngineType&: 
  53. &CAR_Displacement&: 
  54. &CAR_Power&: 
  55. &CAR_Torque&: 
  56. &CAR_Date&: 
  57. &CAR_SellPrice&: ")
  58.     }
  59.  
  60. //&CAR_PowerWeight&: #%2CurrSelectedCar.m_fPower/CurrSelectedCar.m_nWeight#
  61. //&CAR_TorqueWeight&: #%2CurrSelectedCar.m_nTorque/CurrSelectedCar.m_nWeight#
  62.     
  63. /*
  64. String( "CarDescriptionGarage", "ID: #CurrSelectedCar.m_sID#\nName: &#CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&#CurrSelectedCar.m_sID#_OWNEDINFO&\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#")
  65. String( "CarDescriptionDealer", "ID: #CurrSelectedCar.m_sID#\nName: &#CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#\n")
  66.  
  67. String( "CarDescriptionDealerAvailable", "ID: #CurrSelectedCar.m_sID#\nName: &#CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&#CurrSelectedCar.m_sID#_AVAILABLEINFO&\n&CAR_BuyPrice&: #CurrSelectedCar.m_iBuyPrice#")
  68.  
  69. String( "CarDescriptionDealerUnAvailable", "ID: #CurrSelectedCar.m_sID#\nName: &#CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&#CurrSelectedCar.m_sID#_UNAVAILABLEINFO&")
  70.  
  71. String( "CarDescriptionDealerOwned", "ID: #CurrSelectedCar.m_sID#\nName: &#CurrSelectedCar.m_sID#_NAME&\nModel: #CurrSelectedCar.m_sModelID#\n&#CurrSelectedCar.m_sID#_OWNEDINFO&\n&CAR_SellPrice&: #CurrSelectedCar.m_iSellPrice#")
  72. */
  73. }
  74.  
  75. UIElem("ID_CARINFO_TXT_2")
  76. {
  77.     Default()
  78.     {
  79.         Text("&CarDescriptionDealer&")
  80.     }
  81.    
  82.     // disabled car
  83.     OnCondition("CurrSelectedCar.m_iStatus == 3")
  84.     {
  85.     Text("&CarDisabled&")
  86.     }
  87.  
  88.     OnCondition("CurrSelectedCar.m_iStatus == 0")
  89.     {
  90. //    Text("#CurrSelectedCar.m_sCarGroup#
  91.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  92. #CurrSelectedCar.m_sWheelDrive#
  93. #CurrSelectedCar.m_sEngineType#
  94. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  95. #%0CurrSelectedCar.m_fPower#&bhp&
  96. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  97. #%0CurrSelectedCar.m_nProductionDate#
  98. #%0CurrSelectedCar.m_iBuyPrice#&MenuCashPostfix&")
  99.     }
  100.     
  101.     OnCondition("CurrSelectedCar.m_iStatus == 1")
  102.     {
  103. //    Text("#CurrSelectedCar.m_sCarGroup#
  104.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  105. #CurrSelectedCar.m_sWheelDrive#
  106. #CurrSelectedCar.m_sEngineType#
  107. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  108. #%0CurrSelectedCar.m_fPower#&bhp&
  109. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  110. #%0CurrSelectedCar.m_nProductionDate#
  111. #%0CurrSelectedCar.m_iBuyPrice#&MenuCashPostfix&")
  112.     }
  113.  
  114.     OnCondition("CurrSelectedCar.m_iStatus == 2")
  115.     {
  116. //    Text("#CurrSelectedCar.m_sCarGroup#
  117.     Text("#CurrSelectedCar.m_sCarDisplayedGroup#
  118. #CurrSelectedCar.m_sWheelDrive#
  119. #CurrSelectedCar.m_sEngineType#
  120. #%0CurrSelectedCar.m_nDisplacement#&ccm&
  121. #%0CurrSelectedCar.m_fPower#&bhp&
  122. #%0CurrSelectedCar.m_nTorque * CurrSelectedCar.m_fPower / CurrSelectedCar.m_fBasePower#&Nm&/#%0CurrSelectedCar.m_nMaxTorqueRPM#&rpm&
  123. #%0CurrSelectedCar.m_nProductionDate#
  124. #%0CurrSelectedCar.m_iSellPrice#&MenuCashPostfix&")
  125.     }
  126.  
  127.  
  128. }
  129.